package com.systop.asset.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 处置单明细对象 disposal_detail
 * 
 * @author mc
 * @date 2025-07-03
 */
public class DisposalDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 处置单明细ID */
    private Long id;

    /** 处置单ID */
    private Long disposalId;

    /** 资产ID */
    private Long assetId;

    /** 资产图片 */
    private String pic;

    /** 资产名称 */
    private String name;

    /** 分类ID */
    private Long categoryId;

    /** 资产编码 */
    private String assetCode;

    /** 设备序列号 */
    private String serialNumber;

    /** 型号规格 */
    private String model;

    /** 处置原因 */
    private String reason;

    /** 耗材ID */
    private Long materialId;

    /** 数量 */
    private Long quantity;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDisposalId(Long disposalId) 
    {
        this.disposalId = disposalId;
    }

    public Long getDisposalId() 
    {
        return disposalId;
    }
    public void setAssetId(Long assetId) 
    {
        this.assetId = assetId;
    }

    public Long getAssetId() 
    {
        return assetId;
    }
    public void setPic(String pic) 
    {
        this.pic = pic;
    }

    public String getPic() 
    {
        return pic;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }
    public void setAssetCode(String assetCode) 
    {
        this.assetCode = assetCode;
    }

    public String getAssetCode() 
    {
        return assetCode;
    }
    public void setSerialNumber(String serialNumber) 
    {
        this.serialNumber = serialNumber;
    }

    public String getSerialNumber() 
    {
        return serialNumber;
    }
    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }
    public void setReason(String reason) 
    {
        this.reason = reason;
    }

    public String getReason() 
    {
        return reason;
    }
    public void setMaterialId(Long materialId) 
    {
        this.materialId = materialId;
    }

    public Long getMaterialId() 
    {
        return materialId;
    }
    public void setQuantity(Long quantity) 
    {
        this.quantity = quantity;
    }

    public Long getQuantity() 
    {
        return quantity;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("disposalId", getDisposalId())
            .append("assetId", getAssetId())
            .append("pic", getPic())
            .append("name", getName())
            .append("categoryId", getCategoryId())
            .append("assetCode", getAssetCode())
            .append("serialNumber", getSerialNumber())
            .append("model", getModel())
            .append("reason", getReason())
            .append("remark", getRemark())
            .append("materialId", getMaterialId())
            .append("quantity", getQuantity())
            .toString();
    }
}
